package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 * 银行账户的相关信息
 */
public class BankAccount {

    // ID（主键）
    private int id;
    // 开户行
    private String bankName;
    // 账户号码
    private String accountName;
    // 账户类型
    private String accountType;
    // 验证状态
    private String verificationStatus;

    // 无参构造函数
    public BankAccount() {
    }

    // 全参构造函数
    public BankAccount(int id, String bankName, String accountName, String accountType, String verificationStatus) {
        this.id = id;
        this.bankName = bankName;
        this.accountName = accountName;
        this.accountType = accountType;
        this.verificationStatus = verificationStatus;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getBankName() {
        return bankName;
    }

    public String getAccountName() {
        return accountName;
    }

    public String getAccountType() {
        return accountType;
    }

    public String getVerificationStatus() {
        return verificationStatus;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public void setVerificationStatus(String verificationStatus) {
        this.verificationStatus = verificationStatus;
    }

    @Override
    public String toString() {
        return "BankAccount{" +
                "id=" + id +
                ", bankName='" + bankName + '\'' +
                ", accountName='" + accountName + '\'' +
                ", accountType='" + accountType + '\'' +
                ", verificationStatus='" + verificationStatus + '\'' +
                '}';
    }
}
